<?php

//echo $v_worktype_id;
if(_is_sqlserver()){
//----------------------- nieuvv 200508----------------------
	$v_sql = "ONEGATE_WorktypeRecordtypeGetAll_nieuvv";
	$cmd = @mssql_init($v_sql ,$conn);
	@mssql_bind($cmd, "@p_worktype", $v_worktype_id, SQLVARCHAR);	
	$result = @mssql_execute($cmd);
	$arr_all_worktype_recordtype = _get_row_to_array($result);	
	//var_dump($arr_all_worktype_recordtype );
//------------------------ the end 200508-----------------------------	
	@mssql_free_result($result);
}?>